<nz-card  nzTitle="在线用户" [nzExtra]="extraTemplate">

  <nz-table #basicTable [nzData]="ul">
    <thead>
    <tr>
      <th>用户名</th>
      <th>最近更新时间</th>
      <th>角色</th>
      <th>Action</th>
    </tr>
    </thead>
    <tbody>
    <tr *ngFor="let data of basicTable.data">
      <td>{{data.nickname}}</td>
      <td>{{data.lastupdate | date:'yyyy-MM-dd HH:mm:ss'}}</td>
      <td>
        {{data.role}}
      </td>
      <td>

      </td>
    </tr>
    </tbody>
  </nz-table>


</nz-card>
<ng-template #extraTemplate>
  <a>More</a>
</ng-template>
